package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * app外外链设置对象 outreach
 * 
 * @author ruoyi
 * @date 2024-10-30
 */
public class Outreach extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** ID */
    @Excel(name = "ID")
    private String numbering;

    /** 标题 */
    @Excel(name = "标题")
    private String classification;

    /** 外链编码 */
    @Excel(name = "外链编码")
    private String backlink;

    /** 外链地址 */
    @Excel(name = "外链地址")
    private String address;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date released;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNumbering(String numbering) 
    {
        this.numbering = numbering;
    }

    public String getNumbering() 
    {
        return numbering;
    }
    public void setClassification(String classification) 
    {
        this.classification = classification;
    }

    public String getClassification() 
    {
        return classification;
    }
    public void setBacklink(String backlink) 
    {
        this.backlink = backlink;
    }

    public String getBacklink() 
    {
        return backlink;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setReleased(Date released) 
    {
        this.released = released;
    }

    public Date getReleased() 
    {
        return released;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("numbering", getNumbering())
            .append("classification", getClassification())
            .append("backlink", getBacklink())
            .append("address", getAddress())
            .append("released", getReleased())
            .append("status", getStatus())
            .toString();
    }
}
